Documentation sur le service "Anomaly"
Summary :
Anomaly Status
For the anomaly status, we have an enum that contains the following values :
export enum AnomalyStatus {
unreviewed = 0,
pending = 1,
resolved = 2,
}
-
unreviewed: The anomaly has not been reviewed yet. It not have an intervention to resolve it. -
pending: The anomaly have an intervention planned or in progress to resolve it. -
resolved: The anomaly has been resolved, by an intervention or resolved by the organization.
Anomaly Routes
/DELETE/anomalies/{anomalyId}/soft
This route allows to delete an anomaly if it does not have any link with an external element that would need this anomaly.
The conditions to delete an anomaly are as follows:
- The anomaly must not have any link with a
report
If all these conditions are met, the anomaly will be deleted.
/DELETE/anomalies/{anomalyId}/hard
This route allows to delete an anomaly regardless of whether it has links with external elements.